﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Runtime.Serialization;
using System.IO;
using System.Runtime.Serialization.Json;
using System.Linq;
using System.Collections.Generic;

namespace LunchRoller.ViewModels
{
    [DataContract]
    public class SystemSettingModel : ViewModelBase
    {




        /// <summary>
        /// 表示最近几次出现重复则忽略的数值
        /// </summary>
        [DataMember]
        public PropertyContainer<int> _LatestDistinctCount
            = new PropertyContainer<int>("LatestDistinctCount");
        public int LatestDistinctCount
        {
            get { return _LatestDistinctCount.Value; }
            set { _LatestDistinctCount.SetValueAndTryNotify(this, value); }
        }



   

        /// <summary>
        /// 表示是否同意使用地理服务
        /// </summary>
        [DataMember]


        public PropertyContainer<bool> _IsGeoAccepted
            = new PropertyContainer<bool>("IsGeoAccepted");
        public bool IsGeoAccepted
        {
            get { return _IsGeoAccepted.Value; }
            set { _IsGeoAccepted.SetValueAndTryNotify(this, value); }
        }






        /// <summary>
        /// 本版本新增功能
        /// </summary>
        [DataMember]
        public


      PropertyContainer<string> _WhatsNewThisVersion
          = new PropertyContainer<string>("WhatsNewThisVersion");
        public string WhatsNewThisVersion
        {
            get { return _WhatsNewThisVersion.Value; }
            set { _WhatsNewThisVersion.SetValueAndTryNotify(this, value); }
        }





        /// <summary>
        /// 下个版本功能预告
        /// </summary>
        [DataMember]
        public

PropertyContainer<string> _WillAddNextVersion
    = new PropertyContainer<string>("WillAddNextVersion");
        public string WillAddNextVersion
        {
            get { return _WillAddNextVersion.Value; }
            set { _WillAddNextVersion.SetValueAndTryNotify(this, value); }
        }





        /// <summary>
        /// 当前版本号
        /// </summary>
        [DataMember]
        public

PropertyContainer<string> _CurrentVersionNum
    = new PropertyContainer<string>("CurrentVersionNum");
        public string CurrentVersionNum
        {
            get { return _CurrentVersionNum.Value; }
            set { _CurrentVersionNum.SetValueAndTryNotify(this, value); }
        }




    }


}
